package com.ccys.app.service.impl;

import com.ccys.app.service.DependantService;
import com.ccys.common.vo.ResponseResultApp;
import com.ccys.db.mapper.TblMemberFamilyMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @program: WhiteCoat
 * @description: 关系接口
 * @author: ZhangJingCan
 * @create: 2024-01-31 17:54
 **/

@Service
public class DependantServiceImpl implements DependantService {

    @Resource
    private TblMemberFamilyMapper tblMemberFamilyMapper;

    @Override
    public ResponseResultApp removeDependant(String familyId) {
        tblMemberFamilyMapper.updateDelFlagTrueByFamilyId(familyId);
        return ResponseResultApp.success("Success",null);
    }
}
